package com.yhtech.bean.base.basedata.system;

import com.yhtech.bean.base.Database;
import com.yhtech.bean.base.basedata.Department;
/**
 *   功能描述：用户角色
 *      增加一个部门字段，用户在不同的部门（组织）可以有不用的角色。
 * @作者：兰远军
 * @创建时间:2011-12-12
 */
public class UserRole extends Database {

	private Users user;
	private Role role;
	private Department department;

	public Department getDepartment() {
		return department;
	}

	public void setDepartment(Department department) {
		this.department = department;
	}

	public Users getUser() {
		return user;
	}

	public void setUser(Users user) {
		this.user = user;
	}

	public Role getRole() {
		return role;
	}

	public void setRole(Role role) {
		this.role = role;
	}

}
